<?php 

    // include './include/conf.php';
    // $current_url = basename($_SERVER['REQUEST_URL'])['basename'];
    if($current_url == 'public_banner.php') die('Permission denied!');

    $cond = "WHERE ban_type = 1";
    $banner = select_data('nnd_banner', '*', $cond);
    // pre($banner);

    include './views/public_banner.html';